package Form;
/*
 * 登录表单Bean类
 */
public class LoginForm extends ActionForm implements Comparable{
	
	public LoginForm(){
		
		
	}
	public LoginForm(String username,String password){
		
		this.username = username;
		this.password = password;
	}
	private String username = "";
	private String password = "";
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	//继承父类
	public boolean equals(Object o){
		
		return false;
	}
	public String toString(){
		
		return "你输入的用户名："+this.username+","+"密码："+this.password;
	}
	@Override
	public int compareTo(Object arg0) {
		// TODO Auto-generated method stub
		return 0;
	}
}
